package com.bt.lms.entity;

import java.util.List;

/**
 * 专业信息
 *
 * @author 徐大永
 */
public class Major {

   /**
     * id
     */
    private Long id;

    /**
     * 专业名称
     *
     * @reqRule 必填 文本 小
     */
    private String name;

    /**
     * 专业编码
     * 暂时UUID
     * @reqRule 必填 文本 小
     */
    private String code;

    /**
     * 专业描述
     *
     * @reqRule 非必填 文本 大
     */
    private String details;

    /**
     * 状态
     * 1-启用 2-停用
     * @reqRule 必填 单 限选项（启用/停用）
     */
    private Integer status;


    //---------------------关系

    /**
     * 所属的学习中心
     */
    private List<StudyCen> studyCenS;

    /**
     * 专业的教学计划
     *
     * @reqRule 非必填 系统在专业被教学计划关联时，自动获取
     */
    private TeachingPlanBasicInfo teachingPlanBasicInfo;

    //----------------------外键

    /**
     * 教学计划id
     */
    private Long teachingPlanId;


    public List<StudyCen> getStudyCenS() {
        return studyCenS;
    }

    public void setStudyCenS(List<StudyCen> studyCenS) {
        this.studyCenS = studyCenS;
    }

    public Long getTeachingPlanId() {
        return teachingPlanId;
    }

    public void setTeachingPlanId(Long teachingPlanId) {
        this.teachingPlanId = teachingPlanId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public TeachingPlanBasicInfo getTeachingPlanBasicInfo() {
        return teachingPlanBasicInfo;
    }

    public void setTeachingPlanBasicInfo(TeachingPlanBasicInfo teachingPlanBasicInfo) {
        this.teachingPlanBasicInfo = teachingPlanBasicInfo;
    }
}
